//
//  FeedRootViewController.swift
//  DouyinDemo
//
//  Created by MAC on 2022/3/7.
//

import UIKit

class FeedRootViewController:UIViewController{
    
    private var containerVC: FeedContainerViewController!

    override func viewDidLoad() {
        super.viewDidLoad()
        
        //container VC
        containerVC = FeedContainerViewController()
        
        addChild(childViewController: containerVC){subview in
            subview.snp.makeConstraints{make in
                make.leading.trailing.top.equalTo(self.view)
                make.bottom.equalTo(self.view.safeAreaLayoutGuide.snp.bottomMargin)
            }
        }
        
    }
}
